<%-- 
    Document   : cadastro
    Created on : 14/05/2011, 12:24:09
    Author     : Administrator
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="Script.js"> </script>
        <link href="css/codigo.css" rel="stylesheet" type="text/css" />
        <title>LocExpress - Cadastro de Cliente - Sua Locadora onLine</title>
    </head>
    <body>
        <br><p><%@include file="cabecalho.jsp"%></p>
        <div>
            <form name="Cadastro" action="ServletCentral" method="POST">
                <input type="hidden" name="comando" value="CmdCadastrarCliente" />
                <table>
                <thead>
                    <tr>
                        <th>Fazer Cadastro</th>
                    </tr>
                </thead>
                <tbody>
                    <tr>
                        <td>Nome:</td>
                        <td><input type="text" name="nome" value="" size="25" /></td>
                    </tr>
                    <tr>
                        <td>CPF:</td>
                        <td><input type="text" name="cpf" value="" size="20" maxlength="14" onkeyup="return formatar(this, '###.###.###-##', event)" onkeypress="validaNumerosSilencioso(event)" /></td>
                    </tr>
                    <tr>
                        <td>RG:</td>
                        <td><input type="text" name="rg" value="" size="20" maxlength="15" onkeyup="return formatar(this, '#', event)" onkeypress="validaNumerosSilencioso(event)" /></td>
                    </tr>
                    <tr>
                        <td>Email (login):</td>
                        <td><input type="text" name="email" value="" size="20" /></td>
                    </tr>
                    <tr>
                        <td>Senha:</td>
                        <td><input type="password" name="senha" value="" size="20" /></td>
                    </tr>
                    <tr>
                        <td>Telefone:</td>
                        <td><input type="text" name="telefone" value="" size="20" maxlength="12" onkeyup="return formatar(this, '(##)########', event)" onkeypress="validaNumerosSilencioso(event)" /></td>
                    </tr>
                    <tr>
                        <td>Endereço: (Rua, numero - Cidade-UF)</td>
                        <td><input type="text" name="endereco" value="" size="35" /></td>
                    </tr>
                    <tr>
                        <td>Data de Nascimento: (DD/MM/AAAA)</td>
                        <td><input type="text" name="nascimento" value="" size="20" maxlength="10" onkeyup="return formatar(this, '##/##/####', event)" onkeypress="validaNumerosSilencioso(event)" /></td>
                    </tr>
                    <tr>
                        <td><input type="submit" value="Cadastrar" name="Cadastrar"/></td>
                        <td><input type="reset" value="Limpar" name="Limpar" /></td>
                    </tr>
                </tbody>
            </table>
            </form>
        </div>
    </body>
</html>
